#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "led.h"
#include <esp_log.h>

#define TAG "main"

extern "C" void app_main()
{
    esp_log_level_set("*", ESP_LOG_DEBUG);
    ESP_LOGI(TAG, "\nRun in main.\n");
    Led led4(GPIO_NUM_12);
    Led led5(GPIO_NUM_13);

    led4.Blink(10, 1000);
    led5.BlinkOnce();
    while(1)
    {
        vTaskDelay(1000 / portTICK_PERIOD_MS);
    }
}
